<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/axios.min.js"></script>
    <script src="/js/query.js"></script>
    <script src="/alter/js/pwd.js"></script>
    <style>
        .div1{
            width:500px ;
            height:100px;
        }
        .box{
            margin: auto;
        }
        input {
            margin-left: 50px;
            width: 150px;
            height: 30px;
            background-color: blanchedalmond;
            border-radius: 18px;
            border: none;
        }
        .updatePwd{
            background-color: rgba(255,0,0,0.2);
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            visibility: hidden
        }
        .content{
            border: 3px solid #000;
            width: 200px;
            height: 200px;
            padding: 50px;
            background-color: white;
            display: flex;
            flex-wrap: wrap;
        }
        .button12 {
            width:100px;
            height: 30px;
            text-align:center;
            line-height:100%;
            padding:0.3em;
            font:16px Arial,sans-serif bold;
            font-style:normal;
            text-decoration:none;
            margin:2px;
            vertical-align:text-bottom;
            zoom:1;
            outline:none;
            font-size-adjust:none;
            font-stretch:normal;
            border-radius:50px;
            box-shadow:0px 1px 2px rgba(0,0,0,0.2);
            text-shadow:0px 1px 1px rgba(0,0,0,0.3);
            color:#fefee9;
            border:0.2px solid #2299ff;
            background-repeat:repeat;
            background-size:auto;
            background-origin:padding-box;
            background-clip:padding-box;
            background-color:#3399ff;
            background: linear-gradient(to bottom, #eeeff9 0%,#3399ff 100%);
        }

        .button12:hover {
            background: #268DFF;
        }
    </style>
</head>
<body>
    <div style="width: 900px;height: 800px;" class="box">
        <div style="text-align: center"><h1 >修改密码</h1></div>
        <div style="width: 500px;height: 600px;margin: auto" >
            <div class="div1">请输入旧密码<input type="text" id="pwd" onblur="paw()">
                <span id="errorSpan" style="color: red"></span></div>
            <div class="div1">请输入新密码<input type="text" id="pdw1"></div>
            <div class="div1">请输入新密码<input type="text" id="pwd2"></div>
            <div><input type="button" value="修改" STYLE="margin-left: 150px" onclick="update()"></div>
        </div>
    </div>
    <div class="updatePwd" id="pwdDiv">
        <div class="content">
            <div style="width: 300px"><span style="color:red;text-align: center ;align-items: center">修改成功下次登录生效</span></div>
            <div><input type="button" value="确定" onclick="sure()" class="button12"></div>
        </div>
    </div>
</body>
</html>
